package com.sanbi.shield.client.core.enums;

import lombok.Getter;

/**
 * Shield操作状态枚举
 *
 * @author XiaoQingqing
 * @since 2024/08/23
 */
@Getter
public enum ShieldOperateStatusEnum {
    EXECUTING(0,"执行中"),
    SUCCESS(1, "执行成功"),
    ;

    /**
     * 编码
     */
    private final Integer code;
    /**
     * 名称
     */
    private final String name;

    /**
     * 构造器
     *
     * @param code 编码
     * @param name 名称
     */
    ShieldOperateStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
